<?php 

// 用户控制器
class UserController extends Controller
{
	function index()
	{
		$db = DB::table('user');
		$this->assign('list', $db->select());
		$this->display('User/index.html');
	}

	function add()
	{
		echo 'User Add';
	}
}









